addHistoricMessage
open fun addHistoricMessage(@Nullable message: NotificationCompat.MessagingStyle.Message): NotificationCompat.MessagingStyle(source)
Adds a Message for historic context in this notification.
Messages should be added as historic if they are not the main subject of the notification but may give context to a conversation. The system may choose to present them only when relevant, e.g. when replying to a message through a RemoteInput.
The messages should be added in chronologic order, i.e. the oldest first, the newest last.
Return
this object for method chaining
Parameters
message
The historic Message to be added